//
//  DingWeiTableViewCell.m
//  NewProject
//
//  Created by 王嘉琪 on 2017/6/7.
//  Copyright © 2017年 李航飞. All rights reserved.
//

#import "DingWeiTableViewCell.h"
@interface DingWeiTableViewCell()



@end

@implementation DingWeiTableViewCell

//重写cell创建方法
-(instancetype)initWithResueIdentifier:(NSString*)identifier;{
    self = [super initWithStyle:0 reuseIdentifier:identifier];
    if (self) {
        [self setUpView];
    }
    return self;
}
- (void)setUpView{
    _messageLabel = [[UILabel alloc] initWithFrame:CGRectMake(40, 0, [UIScreen mainScreen].bounds.size.width, 50*kScrenHidth)];
//    _messageLabel.backgroundColor=[UIColor redColor];
    UIView *view=[[UIView alloc] initWithFrame:CGRectMake(0, _messageLabel.frame.origin.y+_messageLabel.frame.size.height-1, [UIScreen mainScreen].bounds.size.width, 1)];
    view.backgroundColor=LINE_COLOE_223;
    _messageLabel.textColor=INPUT_COLOR;
    _messageLabel.font=[UIFont systemFontOfSize:14];
    [self addSubview:view];
    [self addSubview:_messageLabel];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
